<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>作品展示 - 未晚花艺</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
        }

        .header {
            background: #fff;
            padding: 1rem;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .portfolio-header {
            margin-top: 80px;
            text-align: center;
            padding: 3rem 1rem;
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./images/portfolio-bg.jpg');
            background-size: cover;
            background-position: center;
            color: #fff;
        }

        .portfolio-header h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .portfolio-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        .filter-buttons {
            text-align: center;
            margin-bottom: 2rem;
        }

        .filter-btn {
            background: none;
            border: 2px solid #e77c7c;
            padding: 0.8rem 1.5rem;
            margin: 0.5rem;
            border-radius: 25px;
            color: #e77c7c;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: #e77c7c;
            color: #fff;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }

        .portfolio-item {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            cursor: pointer;
        }

        .portfolio-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .portfolio-item:hover img {
            transform: scale(1.1);
        }

        .portfolio-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: #fff;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .portfolio-item:hover .portfolio-info {
            transform: translateY(0);
        }

        .portfolio-info h3 {
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .portfolio-info p {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .testimonials {
            margin-top: 4rem;
            padding: 3rem 0;
            background: #fff;
        }

        .testimonials h2 {
            text-align: center;
            color: #333;
            margin-bottom: 2rem;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            padding: 0 2rem;
        }

        .testimonial-card {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1rem;
            color: #666;
        }

        .testimonial-author {
            color: #e77c7c;
            font-weight: bold;
        }

        footer {
            background: #333;
            color: #fff;
            padding: 3rem 0;
            margin-top: 3rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .footer-content h2 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .footer-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .footer-row {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-row p {
            margin: 0;
            line-height: 1.6;
        }

        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
            padding: 0.5rem 1rem;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #e77c7c;
            border-bottom: 2px solid #e77c7c;
        }

        @media (max-width: 768px) {
            .portfolio-header {
                margin-top: 60px;
                padding: 2rem 1rem;
            }

            .portfolio-header h1 {
                font-size: 2rem;
            }

            .filter-btn {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }

            .portfolio-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }

            .navbar {
                padding: 0 1rem;
            }

            .nav-links {
                display: none;
            }

            .footer-row {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 0.5rem;
            }
        }
    </style>
</head>
<body>
    <header class="header">
        <nav class="navbar">
            <div class="logo">
                <a href="./index.html" style="text-decoration: none; color: inherit;">未晚花艺</a>
            </div>
            <div class="nav-links">
                <a href="./index.html">首页</a>
                <a href="./products.html">花艺服务</a>
                <a href="./honors.html" class="active">作品展示</a>
                <a href="./course.html">花艺课程</a>
                <a href="./contact.html">联系我们</a>
            </div>
        </nav>
    </header>

    <main>
        <section class="portfolio-header">
            <h1>作品展示</h1>
            <p>每一件作品都是独特的艺术品</p>
        </section>

        <div class="portfolio-container">
            <div class="filter-buttons">
                <button class="filter-btn active" data-filter="all">全部作品</button>
                <button class="filter-btn" data-filter="wedding">婚礼花艺</button>
                <button class="filter-btn" data-filter="business">商业花艺</button>
                <button class="filter-btn" data-filter="personal">个人定制</button>
            </div>

            <div class="portfolio-grid">
                <div class="portfolio-item" data-category="wedding">
                    <img src="./images/portfolio/wedding-1.jpg" alt="婚礼花艺作品1" onerror="this.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'200\' height=\'200\'><rect width=\'100%\' height=\'100%\' fill=\'%23ddd\'/><text x=\'50%\' y=\'50%\' dominant-baseline=\'middle\' text-anchor=\'middle\' fill=\'%23666\'>婚礼花艺</text></svg>'">
                    <div class="portfolio-info">
                        <h3>浪漫婚礼布置</h3>
                        <p>2024年春季婚礼作品</p>
                    </div>
                </div>

                <div class="portfolio-item" data-category="wedding">
                    <img src="./images/portfolio/wedding-2.jpg" alt="婚礼花艺作品2" onerror="this.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'200\' height=\'200\'><rect width=\'100%\' height=\'100%\' fill=\'%23ddd\'/><text x=\'50%\' y=\'50%\' dominant-baseline=\'middle\' text-anchor=\'middle\' fill=\'%23666\'>婚礼花艺</text></svg>'">
                    <div class="portfolio-info">
                        <h3>新娘手捧花</h3>
                        <p>定制玫瑰手捧花</p>
                    </div>
                </div>

                <div class="portfolio-item" data-category="business">
                    <img src="./images/portfolio/business-1.jpg" alt="商业花艺作品1" onerror="this.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'200\' height=\'200\'><rect width=\'100%\' height=\'100%\' fill=\'%23ddd\'/><text x=\'50%\' y=\'50%\' dominant-baseline=\'middle\' text-anchor=\'middle\' fill=\'%23666\'>商业花艺</text></svg>'">
                    <div class="portfolio-info">
                        <h3>酒店大堂装饰</h3>
                        <p>五星级酒店定制作品</p>
                    </div>
                </div>

                <div class="portfolio-item" data-category="business">
                    <img src="./images/portfolio/business-2.jpg" alt="商业花艺作品2" onerror="this.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'200\' height=\'200\'><rect width=\'100%\' height=\'100%\' fill=\'%23ddd\'/><text x=\'50%\' y=\'50%\' dominant-baseline=\'middle\' text-anchor=\'middle\' fill=\'%23666\'>商业花艺</text></svg>'">
                    <div class="portfolio-info">
                        <h3>餐厅包间布置</h3>
                        <p>高级餐厅花艺设计</p>
                    </div>
                </div>

                <div class="portfolio-item" data-category="personal">
                    <img src="./images/portfolio/personal-1.jpg" alt="个人定制作品1" onerror="this.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'200\' height=\'200\'><rect width=\'100%\' height=\'100%\' fill=\'%23ddd\'/><text x=\'50%\' y=\'50%\' dominant-baseline=\'middle\' text-anchor=\'middle\' fill=\'%23666\'>个人定制</text></svg>'">
                    <div class="portfolio-info">
                        <h3>生日花礼</h3>
                        <p>客户定制礼物</p>
                    </div>
                </div>

                <div class="portfolio-item" data-category="personal">
                    <img src="./images/portfolio/personal-2.jpg" alt="个人定制作品2" onerror="this.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'200\' height=\'200\'><rect width=\'100%\' height=\'100%\' fill=\'%23ddd\'/><text x=\'50%\' y=\'50%\' dominant-baseline=\'middle\' text-anchor=\'middle\' fill=\'%23666\'>个人定制</text></svg>'">
                    <div class="portfolio-info">
                        <h3>家居花艺</h3>
                        <p>私人住宅花艺设计</p>
                    </div>
                </div>
            </div>
        </div>

        <section class="testimonials">
            <h2>客户评价</h2>
            <div class="testimonial-grid">
                <div class="testimonial-card">
                    <p class="testimonial-text">"未晚花艺为我的婚礼创造了梦幻般的氛围，每个细节都完美呈现。"</p>
                    <div class="testimonial-author">- 张小姐，婚礼客户</div>
                </div>
                <div class="testimonial-card">
                    <p class="testimonial-text">"专业的团队，创意的设计，为我们酒店带来了独特的视觉体验。"</p>
                    <div class="testimonial-author">- 李经理，商业客户</div>
                </div>
                <div class="testimonial-card">
                    <p class="testimonial-text">"每周的鲜花订阅服务让我的家充满了生机和活力。"</p>
                    <div class="testimonial-author">- 王女士，订阅客户</div>
                </div>
            </div>
        </section>
    </main>

    <footer>
        <div class="footer-content">
            <h2>联系我们</h2>
            <div class="footer-info">
                <div class="footer-row">
                    <p>电话：178-3994-4268</p>
                    <p>邮箱：weiwantech@163.com</p>
                </div>
                <div class="footer-row">
                    <p>地址：郑州市新郑市龙湖镇</p>
                    <p>营业时间：周一至周日 8:00-21:00</p>
                    <p>法定节假日正常营业</p>
                </div>
            </div>
            <div class="copyright">
                <p>&copy; 2024 未晚花艺. 保留所有权利</p>
            </div>
        </div>
    </footer>
    <script>
        // 作品筛选功能
        document.addEventListener('DOMContentLoaded', function() {
            const filterBtns = document.querySelectorAll('.filter-btn');
            const portfolioItems = document.querySelectorAll('.portfolio-item');

            filterBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    // 移除所有按钮的active类
                    filterBtns.forEach(btn => btn.classList.remove('active'));
                    // 添加当前按钮的active类
                    this.classList.add('active');

                    const filterValue = this.getAttribute('data-filter');

                    portfolioItems.forEach(item => {
                        if (filterValue === 'all' || item.getAttribute('data-category') === filterValue) {
                            item.style.display = 'block';
                        } else {
                            item.style.display = 'none';
                        }
                    });
                });
            });
        });
    </script>
</body>
</html> 